#pragma once
#include <iostream>

using namespace std;

class Sort
{
private:
	int partition(int numArray[],int length,int begin,int end);
	void swap(int& first,int& second);
	void MergeArray(int numArray[],int length,int begin,int mid,int end,int newArray[]);
public:
	Sort(void);
	~Sort(void);
	void SortEnter();
	void Qsort(int numArray[],int length,int begin,int end);
	void MergeSort(int numArray[],int length,int newArray[],int begin,int end);
};

